package com.happyclub.lbjdao;

import com.happyclub.pojo.TbActivityLike;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface ActivityLike extends JpaRepository<TbActivityLike,String> {
    
    /**
     * @Author 高欢
     * @Description  根据活动id获得所有的点赞人信息
     * @Date 9:48 2019/4/9
     **/
    List<TbActivityLike> findTbActivityLikesByActivityId(String activityId);

    TbActivityLike findByActivityIdAndUserId(String activityId,String userId);
}
